__author__ = 'buxiangjie'

"""
@time: 2025/11/13 21:01
"""
import allure
from common.base import Base
from selenium.webdriver.common.by import By

class News(Base):
	pane_news = (By.LINK_TEXT, "热点要闻")

	@allure.step("断言热点要闻")
	def assert_pane_news(self):
		"""
		断言热点要闻
		"""
		assert self.find_element(*self.pane_news)
